package com.geekca.card;

public class GoldCard extends Card{
    GoldCard(int money,String masterName) {
        super(money,masterName);
    }

    @Override
    public double pay(int fee) {
        this.money-=fee*0.8;
        return fee*0.8;

    }
}
